import { createRouter, createWebHistory } from 'vue-router'
import BpmnDemo from '../views/BpmnDemo.vue'
import ApproveFlow from '../views/ApproveFlow.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'bpmn',
      component: BpmnDemo
    },
    {
      path: '/approve',
      name: 'approve',
      component: ApproveFlow
    }
  ]
})

export default router 